package com.qipay.thirdpart.vo;

import com.qipay.thirdpart.config.ResponseStateEnum;

/**
 * Creator: Yao
 * Date:    2017/10/9
 * For:
 * Other:
 */
public class PayResponse {

    private int state;
    private String info;


    public PayResponse() {
        this.state = ResponseStateEnum.SUCCESS.getState();
    }

    public PayResponse(int state) {
        this.state = state;
    }

    public PayResponse(int state, String info) {
        this.state = state;
        this.info = info;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "PayResponse{" +
                "state=" + state +
                ", info='" + info + '\'' +
                '}';
    }
}
